import React from 'react'
import { Icon } from 'antd';
import FBHeaderView from '../component/form-header/View';

export default class Error extends React.Component {
  render() {
    const { msg } = this.props;

    return (
      <div className='wea-edc-error-box'>
        <FBHeaderView data={{}} />
        <div className='wea-edc-error-content'>
          <div style={{ color: '#f5222d', fontSize: 50 }}><Icon type="cross-circle-o" /></div>
          <div style={{ fontSize: 18, paddingBottom: 3 }}>{msg}</div>
        </div>
      </div>
    )
  }
}